package com.ruima.study.jdk21.jdk9.demo1;

/**
 * <p>
 * <p></p>
 * <p>
 * <p>Copyright (c) 2024/11/11 15:23, 科大讯飞 All Rights Reserve</p>
 *
 * @author ruima6
 * @version [V1.0]
 */
public class TestBlowMoney {
    public static void main(String[] args) {
        BlowMoney blowMoney = new BlowMoney() {
            @Override
            public void blow(String name) {
                System.out.println("start blow");
                System.out.println();
            }
        };

        blowMoney.blow("魏建华");


        BlowMoney blowMoney2 = new BlowMoney() {
        };
        blowMoney2.blow("魏建华");


    }
}
